home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
shore_siege.swf
/
scripts
/
DefineSprite_456
/
frame_1
/
PlaceObject2_451_340
/
CLIPACTIONRECORD onClipEvent(mouseUp).as
< prev
Wrap
Text File
|
2011-08-19
|
498b
|
18 lines
onClipEvent(mouseUp){
if(active == true)
{
if(_parent.pythag(_X,_Y,_parent.pirateMan3._x,_parent.pirateMan3._y) < 85)
{
_root.money -= 600;
_X = xPos;
_Y = yPos;
play();
_parent.pirateMan1.health = _root.pirateAmmo;
_parent.pirateMan2.health = _root.pirateAmmo;
_parent.pirateMan3.health = _root.pirateAmmo;
_parent.pirateMan4.health = _root.pirateAmmo;
}
active = false;
}
}